package org.example;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

@SpringBootApplication
@MapperScan("org.example.*.mapper")
@ServletComponentScan("org.example.base.listener")
public class AppStarter  implements WebMvcConfigurer{
    public static void main(String[] args) {

        SpringApplication.run(AppStarter.class,args);
    }
}
